package com.holyant.goods.dto;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.domain.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 商品供应商对应信息dto
 * 
 * @author fkmalls
 * @date 2021-10-09
 */
@Data
@ApiModel("商品供应商对应信息")
public class GdsGoodsSupplierDto extends BaseDto {

    private static final long serialVersionUID = 1L;

    /** 状态  0 正常 1 停用 */
    @Excel(name = "状态  0 正常 1 停用")
    @ApiModelProperty(value = "状态  0 正常 1 停用")
    private String status;
    
    @ApiModelProperty(value = "sku名称")
    private String name;
    
    @ApiModelProperty(value = "sku编码")
    private String code;

    /** 商品id */
    @Excel(name = "商品id")
    @ApiModelProperty(value = "商品id")
    private Long goodsId;

    /** 商品名 */
    @Excel(name = "商品名")
    @ApiModelProperty(value = "商品名")
    private String goodsName;

    /** 商品条码 */
    @Excel(name = "商品条码")
    @ApiModelProperty(value = "商品条码")
    private String goodsBarcode;

    /** 所属分类id */
    @Excel(name = "所属分类id")
    @ApiModelProperty(value = "所属分类id")
    private Long categoryId;

    /** 所属分类名称 */
    @Excel(name = "所属分类名称")
    @ApiModelProperty(value = "所属分类名称")
    private String categoryName;
    
    private String categoryCode;

    /** 品牌id */
    @Excel(name = "品牌id")
    @ApiModelProperty(value = "品牌id")
    private Long brandId;

    /** 品牌名称 */
    @Excel(name = "品牌名称")
    @ApiModelProperty(value = "品牌名称")
    private String brandName;

    /** 默认供应商id */
    @Excel(name = "默认供应商id")
    @ApiModelProperty(value = "默认供应商id")
    private Long supplierId;

    /** 默认供应商 */
    @Excel(name = "默认供应商")
    @ApiModelProperty(value = "默认供应商")
    private String supplierName;

    /** 默认供应商 */
    @Excel(name = "默认供应商编码")
    @ApiModelProperty(value = "默认供应商编码")
    private String supplierCode;

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty(value = "备注")
    private String remark;

    /** 版本号 */
    @Excel(name = "版本号")
    @ApiModelProperty(value = "版本号")
    private Long ver;
    
    private List<GdsGoodsSupplierSaveDto> itemList;
    private List<Long> deleteList;

    private String extArr;
    /**
     * 交货周期
     */
    private BigDecimal deliveryCycle;

    /**
     * 交货类型
     */
    private Integer deliveryType;
    /**
     * 交货方式
     */
    private Integer deliveryMode;
    /**
     * 贸易类型
     */
    private Integer tradeType;
    /**
     * 单箱/托规格
     */
    private BigDecimal specsUnit;
    /**
     * 最小采购量
     */
    private BigDecimal minPurQty;
    /**
     * 发货地址
     */
    private String deliveryAddr;



}
